package javagprssrv.Timer;

import javagprssrv.JGS_Param;
import java.util.TimerTask;
import java.util.Timer;

public class TimersStarter
{
    public void TimersStart() {
        final java.util.Timer T1 = new java.util.Timer("timer_gc",true);
        final java.util.Timer T2 = new java.util.Timer("timeer_logFile",true);
        final java.util.Timer T3 = new java.util.Timer("timer_dataThroughput",true);
        
        T1.schedule(new javagprssrv.Timer.Timer_gc(), 0L, 300000L);
        T2.schedule(new javagprssrv.Timer.Timer_LogFileName(), 0L, 60000L);
        T3.schedule(new javagprssrv.Timer.Timer_DataThroughput(), 0L, 60000L);
        javagprssrv.JGS_Param.myLog.ShowLog("定时处理程序已经成功启动。", true, true);
    }
}
